package com.wust.dao;

import com.wust.entity.Data;

import java.util.List;

public interface DataMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Data record);

    int insertSelective(Data record);

    Data selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Data record);

    int updateByPrimaryKey(Data record);

    Data selectByDeviceId(Integer deviceId);

    List<Data> selectByDeviceIds(Integer deviceId);
}